<?php
include ('class/config.php');
include ("function/frmValidation.php");
include ('class/cls_contact.php');
include ("class/cls_category.php");
include ("class/cls_course.php");
include ("class/cls_story.php");
include("class/cls_university.php");


$err=0;
$err_msg="";
if (isset($_POST['send'])) {
	$cont_name = trim($_POST['contact_name']);
	$cont_subject = trim($_POST['contact_subject']);
	$cont_email = trim($_POST['contact_email']);
	$email_valid=emailValidation($cont_email);
	if($email_valid !="true" || $email_valid>255)
	{
		$err++;
		$err_msg="Invalid Email Format !";
	}
	$cont_message = $_POST['contact_message'];
	$date = date("Y-m-d");
	if($err==0)
	{
	$objContact -> addContact($cont_name, $cont_email, $cont_subject, $cont_message, $date);
	}
}
?>
<!doctype html>
<html class="no-js" lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Mission USA</title>
    <link rel="stylesheet" href="css/foundation.css" />
    <link rel="stylesheet" type="text/css" href="css/demo1.css" />
    <link rel="stylesheet" type="text/css" href="css/demo.css" />
    <link rel="stylesheet" type="text/css" href="css/style2.css" />
      <link rel="stylesheet" type="text/css" href="css/style.css" />
    <link rel="stylesheet" type="text/css" href="css/custom.css">
    
    <!--footer crousal script-->
  	<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>	
    <script src="carouselengine/amazingcarousel.js"></script>
    <link rel="stylesheet" type="text/css" href="carouselengine/initcarousel-1.css">
    <script src="carouselengine/initcarousel-1.js"></script>  
    <!--footer crousal script-->

    <script src="js/vendor/modernizr.js"></script>
    
    <script src="js/bjqs-1.3.min.js"></script>
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
		<script src="js/jquery.zaccordion.js"></script>
		<script type="text/javascript">
			$(document).ready(function() {
				$("pre.js").each(function(index) {
					eval($(this).text());
				});
			});
		</script>
	</head>
  </head>
  <body>
   <!--banner ends here-->
    <?php include ('includes/header.php'); ?>
    <!--menu ends here-->
    <div class="row">
    	 <div class="large-4 columns">
		     <div class="main-frame-holder">
				<article class="col">
				<h1><strong>Contact Form</strong></h1>
				<p><?php  
				if (isset($err_msg))
				echo $err_msg;
					?></p>
				<form method="post" action="" name="contactForm" id="contactForm" onsubmit="return contactValid()">
					<table border="0" cellpadding="1" cellspacing="1" class="table">
						<tr>
							<td width="30%">Name</td>
							<td><input type="text" name="contact_name" id="contac_name" class="textBox"></td>
						</tr>
						<tr>
							<td width="30%">Subject</td>
							<td><input type="text" name="contact_subject" id="contact_subject" class="textBox"></td>
						</tr>
						<tr>
							<td width="30%">Email</td>
							<td><input type="text" name="contact_email" id="contact_email" class="textBox"></td>
						</tr>
						<tr>
							<td width="30%">Message</td>
							<td><textarea rows="5" cols="50" name="contact_message" id="contact_message" class="textBox"></textarea></td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td><input type="submit" name="send" id="send" value="Send"></td>
						</tr>
					</table>
				</form>
	
				<!--<p>
				The houses having low fronts, and being adorned with verandas, beneath which he caught glimpses of neat peristyles.  This quarter occupied, with its streets, squares, docks, and warehouses, all the space between the "promontory of the Treaty" and the river. European quarter, the houses having low fronts, and being adorned with verandas, beneath which he caught of neat peristyles. This quarter occupied, with its streets, squares, docks, and warehouses, all the space between the "promontory of the Treaty" and the river. European quarter, the houses having low fronts, and being adorned with verandas, beneath which he caught glimpses of neat peristyles. This quarter occupied, with its streets, squares, docks, and warehouses, all the space between the "promontory of the Treaty" and the river. European quarter, the houses having low fronts, and being adorned with verandas, beneath which he caught glimpses of neat peristyles. This quarter occupied, with its streets, squares, docks, and warehouses, all the space between the "promontory of the Treaty" and the river. European quarter, the houses having low fronts.
				</p>-->
		</article>
		</div>
		</div>
		<div class="large-4 columns">
					<aside class="col">
					<h1><strong>Contact Info</strong></h1>
					<h1>Adress :</h1>
					&nbsp;>&nbsp;<?php echo  _GPO_BOX_ ?><br/>
					&nbsp;>&nbsp;<?php echo _ADDRESS_?><br/><br/>
					<h1><strong></strong>Phone Number :</strong></h1>
					Tel : <?php echo _PHONE_TEL_?><br/>
					Mob : <?php echo _PHONE_MOB_?><br/><br/>
					<h1><strong></strong>Email :</strong></h1>
					&nbsp;><?php echo _EMAIL_?>
					
					<!--<div class="facebook">
						
					<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fnepaleducenter&amp;width=300&amp;height=258&amp;colorscheme=light&amp;show_faces=true&amp;header=false&amp;stream=false&amp;show_border=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:258px;" allowTransparency="true"></iframe>-->
					</aside>
		</div>
					
					
    </div>

      <div class="row">
      <div class="large-8 columns">
       	<div class="box">
        	<div class="top">
            <div class="arrow-right"></div>
            <h4>Facilities</h4>
            </div>
            	<ul>
                	<li>
                    	<img src="img/internet.png" alt="internet">
                        <p>Internet Facilities</p>
                    </li>
                    <li>
                    	<img src="img/library.png" alt="library" >
                        <p>Library Facilities</p>
                    </li>
                    
                    <li>
                    	<img src="img/parking.png" alt="parking">
                        <p>Parking Facilities</p>
                    </li>
                    
                    <li>
                    	<img src="img/lab.png" alt="Lab">
                        <p>Well equipped computer lab</p>
                    </li>
                </ul>
        </div>
      </div>
      <div class="large-4 columns">
       <div class="box">
        	<div class="top">
            <div class="arrow-right"></div>
            <h4>News and Announcement</h4>
            </div>
            	<p>
                	 is simply dummy text of the printing and typesetting industry. Lorem Ipsum
                </p>
                
                <p>
                	 is simply dummy text of the printing and typesetting industry. Lorem Ipsum
                </p>
              
        </div>
      </div>
    </div>

    <div class="divider"></div>
    <!--video and galleries ends here-->
     <div class="row">
      <div class="large-12 columns">
       	<div class="box">
        	<div class="top">
            <div class="arrow-right"></div>
            <h4>Visa Updates</h4>
            </div>
            	<div style="margin:0px auto;">
    
<!-- Insert to your webpage where you want to display the carousel -->
<div id="amazingcarousel-container-1">
    <div id="amazingcarousel-1" style="display:block;position:relative;width:100%;max-width:720px;margin:0px auto 0px;">
        <div class="amazingcarousel-list-container">
            <ul class="amazingcarousel-list">
                <li class="amazingcarousel-item">
                    <div class="amazingcarousel-item-container">
<div class="amazingcarousel-image"><a href="images/0x600-lightbox.jpg" title="0x600"  class="html5lightbox" data-group="amazingcarousel-1"><img src="images/0x600.jpg"  alt="0x600" /></a></div>
<div class="amazingcarousel-title">0x600</div>                    </div>
                </li>
                <li class="amazingcarousel-item">
                    <div class="amazingcarousel-item-container">
<div class="amazingcarousel-image"><a href="images/2014-04-26-06.48.53-pm-lightbox.jpg" title="2014-04-26-06.48.53-pm"  class="html5lightbox" data-group="amazingcarousel-1"><img src="images/2014-04-26-06.48.53-pm.jpg"  alt="2014-04-26-06.48.53-pm" /></a></div>
<div class="amazingcarousel-title">2014-04-26-06.48.53-pm</div>                    </div>
                </li>
                <li class="amazingcarousel-item">
                    <div class="amazingcarousel-item-container">
<div class="amazingcarousel-image"><a href="images/10182653-lightbox.jpg" title="10182653"  class="html5lightbox" data-group="amazingcarousel-1"><img src="images/10182653.jpg"  alt="10182653" /></a></div>
<div class="amazingcarousel-title">10182653</div>                    </div>
                </li>
                <li class="amazingcarousel-item">
                    <div class="amazingcarousel-item-container">
<div class="amazingcarousel-image"><a href="images/Best-Movie-Tickets-Booking-sites-lightbox.jpg" title="Best-Movie-Tickets-Booking-sites"  class="html5lightbox" data-group="amazingcarousel-1"><img src="images/Best-Movie-Tickets-Booking-sites.jpg"  alt="Best-Movie-Tickets-Booking-sites" /></a></div>
<div class="amazingcarousel-title">Best-Movie-Tickets-Booking-sites</div>                    </div>
                </li>
            </ul>
            <div class="amazingcarousel-prev"></div>
            <div class="amazingcarousel-next"></div>
        </div>
        <div class="amazingcarousel-nav"></div>
        <div class="amazingcarousel-engine"><a href="http://amazingcarousel.com">JavaScript Image Scroller</a></div>
    </div>
</div>
<!-- End of body section HTML codes -->

</div>
        </div>
      </div>
      
    </div>

    <div class="divider"></div>
    <!--visa updates ends here-->
    
   <?php include("includes/footer.php");?>    
    
    <script src="js/foundation.min.js"></script>
    <script>
      $(document).foundation();
    </script>

    <script type="text/javascript" src="js/jquery.cslider.js"></script>
    <script type="text/javascript">
      $(function() {
      
        $('#da-slider').cslider({
          autoplay  : true,
          bgincrement : 450
        });
      
      });
    </script> 
    
    <script class="secret-source">
        jQuery(document).ready(function($) {

          $('.banner-fade').bjqs({
           
            responsive  : true
          });

        });
      </script>
      
       <script>
$(document).ready(function() {
	$("#example4 ul").zAccordion({
		slideWidth: 537,
		width: 637,
		height: 250,
		timeout: 3000,
		slideClass: "frame"
	});
});
</script>

  </body>



</html>
